<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑数据字典条目</title>
<link href="${pageContext.request.contextPath}/css/style.css"  rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/admin-all.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.min.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-ui-1.8.22.custom.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/serve/serve.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/layui/layui.all.js"></script>
</head>

<body>
<div class="alert alert-info">数据字典管理<b class="tip"></b>编辑数据字典条目 </div>
<form action="upd_data?type=modify" method="post"  >
<div class="button_bar">
	<input type="button" class="common_button" onclick="layer.alert('欢迎使用!');" value="帮助"/>
	<input type="button" class="common_button" onclick="window.history.go(-1);" value="返回"/>
	<input type="submit" class="common_button"  value="保存"/>	
</div>

<c:forEach items="${pageInfo.list}" var="data" varStatus="status">
<table class="query_table">

	<tr>
		<th>编号</th>
		<td><input type="text" name="id" size="20"  value="${data.id}" readonly /></td>
		<th>类别</th>
		<td><input type="text"  id="data_category" name="data_category"  value="${data.data_category}" /><span class="red_star">*</span></td>
	</tr>
	<tr>
		<th>条目</th>
		<td><input type="text"  id="data_desc" name="data_desc" value="${data.data_desc}" /><span class="red_star">*</span></td>
		<th>值</th>
		<td><input type="text"  id="data_no" name="data_no"	value="${data.data_no}" /><span class="red_star">*</span></td>
	</tr>	
	<tr>
        <th>是否可编辑</th>
        <td> 是 <input type="radio"    name="editable" value="是" <c:if test="${data.editable=='是'}"> checked="checked"</c:if>  /> &nbsp; &nbsp; &nbsp; &nbsp;
            否 <input type="radio"    name="editable" value="否" <c:if test="${data.editable=='否'}">  checked="checked"</c:if>  />
        </td>
		<th>&nbsp;</th>
		<td>&nbsp;</td>
	</tr>
</table>
</c:forEach>
</form>
</body>
</html>
